package com.example.zjsr.pojo;

import com.example.zjsr.pojo.ilabresult.IlabSport;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 电商实体
 */
public class Commerce {
    private Integer commerceId;//电商编号

    private String username;//用户姓名

    private Double experimentScore;//实验成绩

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date experimentStartDate;//实验开始时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date experimentEndDate;//实验结束时间

    private Double putRecordsScore;//备案登记

    private Double registrationCodeScore;//海关注册编码

    private Double electronicPortIcScore;//电子口岸IC卡

    private Double singleWindowScore;//单一窗口注册备案

    private Double electronicPortScore;//电子口岸数据中心企业注册

    private Double goodsRecordScore;//商品备案

    private Double booksDeclareScore;//账册申请

    private Double goodsArrivedScore;//货物运抵

    private Double customsEntryScore;//报关预录入

    private Double cardAreaScore;//过卡进区

    private Double checkScore;//查验

    private Double declarationFormScore;//表单申报

    private Double goodsPickedScore;//商品出库拣货

    private Double sendScore;//尾程派送

    private Double prepareScore;//前期准备

    private Double areaPrepareScore;//入区准备

    private Double inCustomsScore;//入区通关

    private Double outCustomsScore;//出区通关

    private Double goodsPickedAllScore;//尾程派送总分

    private Double totalPoints;//合计分数

    private String experimentTime;//实验时长

    public String experimentSuggest;//实验总结和建议

    /**
     * ilab实验成绩
     */
    private IlabSport ilabSport;

    public Commerce() {
    }

    public Commerce(Integer commerceId, String username, Double experimentScore, Date experimentStartDate, Date experimentEndDate, Double putRecordsScore, Double registrationCodeScore, Double electronicPortIcScore, Double singleWindowScore, Double electronicPortScore, Double goodsRecordScore, Double booksDeclareScore, Double goodsArrivedScore, Double customsEntryScore, Double cardAreaScore, Double checkScore, Double declarationFormScore, Double goodsPickedScore, Double sendScore, Double prepareScore, Double areaPrepareScore, Double inCustomsScore, Double outCustomsScore, Double goodsPickedAllScore, Double totalPoints, String experimentTime, String experimentSuggest) {
        this.commerceId = commerceId;
        this.username = username;
        this.experimentScore = experimentScore;
        this.experimentStartDate = experimentStartDate;
        this.experimentEndDate = experimentEndDate;
        this.putRecordsScore = putRecordsScore;
        this.registrationCodeScore = registrationCodeScore;
        this.electronicPortIcScore = electronicPortIcScore;
        this.singleWindowScore = singleWindowScore;
        this.electronicPortScore = electronicPortScore;
        this.goodsRecordScore = goodsRecordScore;
        this.booksDeclareScore = booksDeclareScore;
        this.goodsArrivedScore = goodsArrivedScore;
        this.customsEntryScore = customsEntryScore;
        this.cardAreaScore = cardAreaScore;
        this.checkScore = checkScore;
        this.declarationFormScore = declarationFormScore;
        this.goodsPickedScore = goodsPickedScore;
        this.sendScore = sendScore;
        this.prepareScore = prepareScore;
        this.areaPrepareScore = areaPrepareScore;
        this.inCustomsScore = inCustomsScore;
        this.outCustomsScore = outCustomsScore;
        this.goodsPickedAllScore = goodsPickedAllScore;
        this.totalPoints = totalPoints;
        this.experimentTime = experimentTime;
        this.experimentSuggest = experimentSuggest;
    }

    public Integer getCommerceId() {
        return commerceId;
    }

    public void setCommerceId(Integer commerceId) {
        this.commerceId = commerceId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public Double getExperimentScore() {
        return experimentScore;
    }

    public void setExperimentScore(Double experimentScore) {
        this.experimentScore = experimentScore;
    }

    public Date getExperimentStartDate() {
        return experimentStartDate;
    }

    public void setExperimentStartDate(Date experimentStartDate) {
        this.experimentStartDate = experimentStartDate;
    }

    public Date getExperimentEndDate() {
        return experimentEndDate;
    }

    public void setExperimentEndDate(Date experimentEndDate) {
        this.experimentEndDate = experimentEndDate;
    }

    public Double getPutRecordsScore() {
        return putRecordsScore;
    }

    public void setPutRecordsScore(Double putRecordsScore) {
        this.putRecordsScore = putRecordsScore;
    }

    public Double getRegistrationCodeScore() {
        return registrationCodeScore;
    }

    public void setRegistrationCodeScore(Double registrationCodeScore) {
        this.registrationCodeScore = registrationCodeScore;
    }

    public Double getElectronicPortIcScore() {
        return electronicPortIcScore;
    }

    public void setElectronicPortIcScore(Double electronicPortIcScore) {
        this.electronicPortIcScore = electronicPortIcScore;
    }

    public Double getSingleWindowScore() {
        return singleWindowScore;
    }

    public void setSingleWindowScore(Double singleWindowScore) {
        this.singleWindowScore = singleWindowScore;
    }

    public Double getElectronicPortScore() {
        return electronicPortScore;
    }

    public void setElectronicPortScore(Double electronicPortScore) {
        this.electronicPortScore = electronicPortScore;
    }

    public Double getGoodsRecordScore() {
        return goodsRecordScore;
    }

    public void setGoodsRecordScore(Double goodsRecordScore) {
        this.goodsRecordScore = goodsRecordScore;
    }

    public Double getBooksDeclareScore() {
        return booksDeclareScore;
    }

    public void setBooksDeclareScore(Double booksDeclareScore) {
        this.booksDeclareScore = booksDeclareScore;
    }

    public Double getGoodsArrivedScore() {
        return goodsArrivedScore;
    }

    public void setGoodsArrivedScore(Double goodsArrivedScore) {
        this.goodsArrivedScore = goodsArrivedScore;
    }

    public Double getCustomsEntryScore() {
        return customsEntryScore;
    }

    public void setCustomsEntryScore(Double customsEntryScore) {
        this.customsEntryScore = customsEntryScore;
    }

    public Double getCardAreaScore() {
        return cardAreaScore;
    }

    public void setCardAreaScore(Double cardAreaScore) {
        this.cardAreaScore = cardAreaScore;
    }

    public Double getCheckScore() {
        return checkScore;
    }

    public void setCheckScore(Double checkScore) {
        this.checkScore = checkScore;
    }

    public Double getDeclarationFormScore() {
        return declarationFormScore;
    }

    public void setDeclarationFormScore(Double declarationFormScore) {
        this.declarationFormScore = declarationFormScore;
    }

    public Double getGoodsPickedScore() {
        return goodsPickedScore;
    }

    public void setGoodsPickedScore(Double goodsPickedScore) {
        this.goodsPickedScore = goodsPickedScore;
    }

    public Double getSendScore() {
        return sendScore;
    }

    public void setSendScore(Double sendScore) {
        this.sendScore = sendScore;
    }

    public Double getPrepareScore() {
        return prepareScore;
    }

    public void setPrepareScore(Double prepareScore) {
        this.prepareScore = prepareScore;
    }

    public Double getAreaPrepareScore() {
        return areaPrepareScore;
    }

    public void setAreaPrepareScore(Double areaPrepareScore) {
        this.areaPrepareScore = areaPrepareScore;
    }

    public Double getInCustomsScore() {
        return inCustomsScore;
    }

    public void setInCustomsScore(Double inCustomsScore) {
        this.inCustomsScore = inCustomsScore;
    }

    public Double getOutCustomsScore() {
        return outCustomsScore;
    }

    public void setOutCustomsScore(Double outCustomsScore) {
        this.outCustomsScore = outCustomsScore;
    }

    public Double getGoodsPickedAllScore() {
        return goodsPickedAllScore;
    }

    public void setGoodsPickedAllScore(Double goodsPickedAllScore) {
        this.goodsPickedAllScore = goodsPickedAllScore;
    }

    public Double getTotalPoints() {
        return totalPoints;
    }

    public void setTotalPoints(Double totalPoints) {
        this.totalPoints = totalPoints;
    }

    public String getExperimentTime() {
        return experimentTime;
    }

    public void setExperimentTime(String experimentTime) {
        this.experimentTime = experimentTime;
    }


    public String getExperimentSuggest() {
        return experimentSuggest;
    }

    public void setExperimentSuggest(String experimentSuggest) {
        this.experimentSuggest = experimentSuggest;
    }

    public IlabSport getIlabSport() {
        return ilabSport;
    }

    public void setIlabSport(IlabSport ilabSport) {
        this.ilabSport = ilabSport;
    }
}
